Problem Note 40874: "Can't start the application" error might occur when attempting to open Microsoft Excel inside of another Microsoft Office application
The following error might occur when you attempt to open Microsoft Excel when inserted into another Microsoft Office application such as Microsoft Word:
This error will most likely occur when you have another Microsoft Excel session open at the same time that you are attempting to open the Microsoft Excel data embedded in the Microsoft Office application. Even if you have the configuration option LoadWhenEmbedded
set to false
, the error still occurs because Microsoft Excel is already open and the initial check will not rerun to see if the SAS® Add-In for Microsoft Office should load or not.
To circumvent this problem with the SAS Add-In 2.1 or 4.2, use one of the following methods:
Make sure the first occurrence of Microsoft Excel is closed before you attempt to open the embedded Microsoft Excel. This circumvention works only when the LoadWhenEmbedded
configuration option is set to false
in the SAS.OfficeAddin.dll.config
file, as shown below:
<add key="LoadWhenEmbedded" value="false"/>
Add the following configuration option to the SAS.OfficeAddin.dll.config
file:
<add key="ForceGarbageCollection" value="true"/>
Note: If the SAS.OfficeAddin.dll.config
file does not exist in the SAS Add-In for Microsoft Office installation directory, then you can create it and add the following lines with the key configuration options:
<configuration>
<assemblySettings>
<add key="LoadWhenEmbedded" value="false"/>
<add key="ForceGarbageCollection" value="true"/>
</assemblySettings>
</configuration>
With the SAS Add-In 4.3, you must disable the SAS Add-In in your first Microsoft Excel session before you can open the other Microsoft Office application.
Operating System and Release Information
SAS System | SAS Add-in for Microsoft Office | Microsoft Windows 2000 Advanced Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 2.1 | | 9.1 TS1M3 SP4 | |
Windows Vista | 2.1 | 5.1 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 2.1 | 5.1 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 2.1 | 5.1 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 2.1 | 5.1 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Windows Vista for x64 | 2.1 | 5.1 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 2.1 | 5.1 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-07-13 12:36:14 |
Date Created: | 2010-09-13 11:19:31 |